home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9029 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  820 b 

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: champalber@aol.com (Champalber)
  3. Newsgroups: comp.lang.c++
  4. Subject: Strange Syntax? int foo( ) = [xxx] ;
  5. Date: 27 Feb 1996 23:03:58 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4h0k7e$dq2@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: newsbf02.mail.aol.com
  10. X-Newsreader: AOL Offline Reader
  11.  
  12. When I use BC++ with Object Window Libraries (OWL), I use the following
  13. line to say "When my window receives a MW_KEYDOWN message, call WMKeyDown(
  14. )":
  15.  
  16. void WMKeyDown( RTMessage Msg) = [WM_FIRST + WM_KEYDOWN];
  17.  
  18. Can somebody tell me more about this syntax?
  19. What do the [ ]'s represent?
  20. Is this a BC++ feature, or a C++ feature?
  21. How can I use this feature?
  22.  
  23. Richard Champlabert
  24. champalber@aol.com
  25.  
  26. Champalbert
  27. champlaber@aol.com
  28.